<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cisau信院免费邮--校园邮箱第一品牌</title>
<link rel="shortcut icon" href="<%=basePath %>images/favicon.ico" type="image/x-icon"/>

<link rel="stylesheet" href="<%=basePath %>js/jPlayer/jplayer.flat.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/bootstrap.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/animate.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/simple-line-icons.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/font.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/app.css" type="text/css" />  
</head>
<script type="text/javascript" src="<%=basePath %>js/jquery.min.js"></script>
<body class="">
<jsp:include page="top.jsp"></jsp:include>
  <section class="vbox">


        <section id="content">
          <section class="vbox">
            <section class="scrollable padder">
              <div class="m-b-md">
                
              </div>
              <div class="row" style="margin-left: 150px;">
                


                <div class="col-sm-6" style="min-width: 1500px; min-height: 1000px; ">
                <!-- 表单开始 -->
                  <form data-validate="parsley" action="<%=basePath %>puser/update" enctype="multipart/form-data" method="post">
                    <section class="panel panel-default">
                      <header class="panel-heading">
                        <span class="h4">修改个人资料</span>
                      </header>
                      <div class="panel-body">
                        


						 <div class="form-group pull-in clearfix">
                            <div class="form-group" style="width: 50%; margin-left: 20px;" >
                              <label class="col-sm-2 control-label">真实姓名</label>
                              <input type="text" name="realname" style="margin-left:15px;" class="form-control" value="${USER.realname }" data-required="true">
                            </div>
                             <div class="form-group" style="width: 50%; margin-left: 20px;" >
                            <label class="col-sm-2 control-label">密码：</label>
                            <input type="password" name="password" style="margin-left:15px;" data-required="true" class="form-control" value="${USER.password }" required="required">
                          </div>
                           <div class="form-group" style="width: 50%; margin-left: 20px;" >
                            <label class="col-sm-2 control-label">电话：</label>
                            <input type="text" name="phone" style="margin-left:15px;" data-required="true" class="form-control" value="${USER.phone }">
                          </div>
                          <div class="form-group" style="width: 50%; margin-left: 20px;" >
                            <label class="control-label" style="margin-left: 15px;">密码问题（以便找回密码）：</label>
                            <input type="text" name="encrypted" style="margin-left:15px;" data-required="true" class="form-control" value="${USER.encrypted }">
                          </div>
                          <div class="form-group" style="width: 50%; margin-left: 20px;" >
                            <label class="col-sm-2 control-label">答案：</label>
                            <input type="text" name="answer" style="margin-left:15px;" data-required="true" class="form-control" value="${USER.answer }">
                          </div>
                          </div>
                          <!-- 添加默认隐藏域 -->
						<input type="hidden" name="picpath" value="${USER.picpath }">
						<input type="hidden" name="email" value="${USER.email }">
						

                          <!-- <div class="form-group">
                            <label>Message</label>
                            <textarea class="form-control" rows="6" data-minwords="6" data-required="true" placeholder="Type your message"></textarea>
                          </div> -->


                          <label class="col-sm-2 control-label">头像：</label>
                          <div class="col-sm-10" style="margin-top: 30px; margin-left: -235px;">

                        		<input type="file" name="uploadFile" class="filestyle" data-icon="false" data-classButton="btn btn-default" data-classInput="form-control inline v-middle input-s">
                      	</div>
                      </div>
                      <footer class="panel-footer text-right bg-light lter">
                        <button type="submit" class="btn btn-success btn-s-xs">Submit</button>
                      </footer>
                    </section>
                  </form>
                  <!-- 表单结束 -->

                </div>
              </div>

              
            </section>
          </section>
          <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen,open" data-target="#nav,html"></a>
        </section>
      </section>
    
  <script src="<%=basePath %>js/wizard/jquery.bootstrap.wizard.js"></script>
<script src="<%=basePath %>js/wizard/demo.js"></script>
  <script src="<%=basePath %>js/app.plugin.js"></script>
  <script type="text/javascript" src="<%=basePath %>js/jPlayer/jquery.jplayer.min.js"></script>
  <script type="text/javascript" src="<%=basePath %>js/jPlayer/add-on/jplayer.playlist.min.js"></script>
  <script type="text/javascript" src="<%=basePath %>js/jPlayer/demo.js"></script>
   
   <script src="<%=basePath %>js/file-input/bootstrap-filestyle.min.js"></script>
  <script src="<%=basePath %>js/wysiwyg/jquery.hotkeys.js"></script>
  <script src="<%=basePath %>js/wysiwyg/bootstrap-wysiwyg.js"></script>
  <script src="<%=basePath %>js/wysiwyg/demo.js"></script>

</body>
</html>